package com.jun.service;

import com.jun.entity.User;
import com.jun.entity.UserConsume;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public interface UserConsumeService {
    int insertUserConsume(UserConsume userConsume); //插入一条普通用户消费记录
    String searchOneDayConsume(String time);  //查询指定日期的普通用户收益
    String searchUserConsumeByInterval(Map<String,Object> map);  //根据时间间隔来查询普通用户总收益
}
